<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.ruiyin.bean.SysUser"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  
	<div class="mt-20">
		<table id="table_report">
			<thead>
				<tr>
					<th width="10%">ID</th>
					<th width="10%">姓名</th>
					<th width="10%">密码</th>
					<th width="10%">电子邮件</th>
					<th width="10%">所属机构</th>
				</tr>
			</thead>
			<tbody id="list">
				<c:choose>
					<c:when test="${not empty sysuserList}">
						<c:forEach items="${sysuserList}" var="record" varStatus="vs">
							<tr class="text-c">
								<td>${record.user_Id}</td>
								<td>${record.username}</td>
								<td>${record.password}</td>
								<td>${record.email}</td>
								<td>${record.organname}</td>
							</tr>
						</c:forEach>
					</c:when>
				</c:choose>
			</tbody>
		</table>
		
		<jsp:include page="../../page.jsp" />
		
		<form action="${ basePath}user/update" method="post">
		  	用户名：<input type="text"  id="username"  name="sysUser.USERNAME"/>${userNameMsg}<br>
		  	  密码：<input type="password"  id="password"  name="sysUser.PASSWORD"/>${pwdMsg}<br>
		    <input type="submit"  value="提交"/>
	    </form>
	    
	</div>
	
	<script type="text/javascript">
	function add(){
		
	}
	</script>
	
	</body>
  
</html>
